﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jzy.Core.Common;
using FortuneHeavenDAL;
using FortuneHeavenCommon.DataMap;

namespace FortuneHeavenBAL
{
    public class RoleBO : CommonOperate<Role>
    {
        public RoleDAL _roleDAL;
        public RoleBO()
            : base()
        {
            _roleDAL = new RoleDAL();
        }


        public List<Role> GetRoles(int page, int size)
        {
            return _roleDAL.GetRoles(page, size);
        }

        public int GetTotalSize()
        {
            return _roleDAL.GetTotalSize();
        }
    }
}
